<?php require_once($this->view_path.'/header.php') ?>
<div id="reg">
    <?php if($this->reg=='reging'): ?>
	<form name="form1" id="form1" method="post" action="?module=reg&action=save">
    <div class="reg_item">
	    <div class="reg_span">登录帐号</div><input type="text" name="username" id="username" /> *
	</div>
	<div class="reg_item">
	    <div class="reg_span">登录密码</div><input type="text" name="password" id="password" /> *
	</div>
	<div class="reg_item">
	    <div class="reg_span">重复密码</div><input type="text" name="password1" id="password1" /> *
	</div>
	<div class="reg_item">
	    <div class="reg_span">真实姓名</div><input type="text" name="realname" id="realname" /> *
	</div>
	<div class="reg_item">
	    <div class="reg_span">联系电话</div><input type="text" name="tel" id="tel" />  &nbsp;&nbsp;
	</div>
	<div class="reg_item">
	    <div class="reg_span">QQ</div><input type="text" name="oicq" id="oicq" />  &nbsp;&nbsp;
	</div>
	<div class="reg_item">
	    <div class="reg_span">msn</div><input type="text" name="msn" id="msn" />  &nbsp;&nbsp;
	</div>
	<div class="reg_item">
	    <div class="reg_span">email</div><input type="text" name="email" id="email" /> *
	</div>
	<div class="reg_item_1">
	    <input type="submit" name="submit" id="submit" value="注册" style="width:100px; height:26px;" /> &nbsp; <input type="reset" name="reset" id="reset" value="重填" style="width:100px; height:26px;" />
	</div>
	</form>
	<?php elseif($this->reg=='reged'): ?>
	<div class="reg_success">
	    <?php echo $this->message; ?>
	</div>
	<?php endif; ?>
</div>
<?php require_once($this->view_path.'/footer.php') ?>